
<template>
    <Button type="text" v-permission="'btnDelete'" size="small" icon="trash-a" @click="clickHandler"></Button>
</template>

<script>
  export default {
    accessLabel: '删除行',
    accessKey: 'btnDelete',
    methods: {
      clickHandler (e) {
        this.$emit('delClick', e);
      }
    }
  };
</script>
